package com.ruoyi.mobile.service;

import com.ruoyi.mobile.utils.NftResponse;
import com.ruoyi.mobile.utils.Paginator;
import com.ruoyi.system.api.req.ShProductReq;
import com.ruoyi.system.api.resp.DictResp;
import com.ruoyi.system.api.resp.ShProductResp;

import java.util.List;

/**
 * 商品信息Service接口
 * 
 * @author ruoyi
 * @date 2023-07-18
 */
public interface IShProductService {
    public NftResponse<List<DictResp>> getProductTypes();
    public NftResponse<List<DictResp>> getMealTypes();
    public NftResponse<List<DictResp>> getTrainTypes();
    public NftResponse<Paginator<ShProductResp>> getProductList(ShProductReq query);
    public NftResponse<Paginator<ShProductResp>> getMealList(ShProductReq query);
    public NftResponse<Paginator<ShProductResp>> getTrainList(ShProductReq query);
    public NftResponse<ShProductResp> getProductInfo(Long id, Long userId);
}
